Java Doc for Repository.java in  » ESB » open-esb » com » sun » jbi » management » repository » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ESB » open esb » com.sun.jbi.management.repository 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.jbi.management.repository.Repository

Repository
public class Repository (Code)
A repository for ESB artifacts. The ESB Repository stores bindings, engines, shared libraries, service assemblies, service units, and temporary uploads from remote administration clients. The ArchiveType enumeration is used to declare the type used by an archive operation. In addition to the archive type, a name is given to identify an archive uniquely. The combination of name and type prevents naming conflicts between different classes of artifacts (e.g. bindings and shared libraries). When attempting to reference a service unit, the following naming rule is used:

[sa-name]'/'[su-name]


Field Summary
final protected static  StringDIR_SUFFIX_PATTERN
     The Directory suffix pattern.

Constructor Summary
public  Repository(ManagementContext context)
     Create a new instance of the repository.

Method Summary
public  ArchiveaddArchive(ArchiveType type, String path)
     Add an archive to the repository.
public synchronized  voidaddArchive(Archive archive)
     Add a pre-parsed archive to the repository.
public  booleanarchiveExists(ArchiveType type, String name)
     Used to determine if a particular archive is stored in the repository.
public  voidcleanRepository()
    
public synchronized  StringfindArchive(ArchiveType type, String name)
     Returns the path to the specified archive, or null if it does not exist in the repository.
public  StringfindArchiveDirectory(ArchiveType type, String name)
     Returns the path to the directory where the archive is stored, or null if archive does not exist in the repository.
public synchronized  ArchivegetArchive(Object archiveId)
     Retrieve archive details for the specified id.
public synchronized  ArchivegetArchive(ArchiveType type, String name)
     Retrieve archive details for the specified id.
public  List<String>getArchiveEntityNames(ArchiveType type)
    
public  FilegetTempStore()
     Returns a file pointer to the repository temp store.
public synchronized  voidpurge()
     Purges the repository, removing all archives.
public synchronized  voidremoveArchive(ArchiveType type, String name)
     Remove the specified archive.

Field Detail
DIR_SUFFIX_PATTERN
final protected static String DIR_SUFFIX_PATTERN(Code)
The Directory suffix pattern. This is the suffix of a directory name when a directory by the actual name exists. It is ".(n)+" example SunFileBinding.12




Constructor Detail
Repository
public Repository(ManagementContext context) throws RepositoryException(Code)
Create a new instance of the repository.




Method Detail
addArchive
public Archive addArchive(ArchiveType type, String path) throws RepositoryException(Code)
Add an archive to the repository.



addArchive
public synchronized void addArchive(Archive archive) throws RepositoryException(Code)
Add a pre-parsed archive to the repository.



archiveExists
public boolean archiveExists(ArchiveType type, String name)(Code)
Used to determine if a particular archive is stored in the repository.



cleanRepository
public void cleanRepository()(Code)



findArchive
public synchronized String findArchive(ArchiveType type, String name)(Code)
Returns the path to the specified archive, or null if it does not exist in the repository.



findArchiveDirectory
public String findArchiveDirectory(ArchiveType type, String name)(Code)
Returns the path to the directory where the archive is stored, or null if archive does not exist in the repository.



getArchive
public synchronized Archive getArchive(Object archiveId)(Code)
Retrieve archive details for the specified id.



getArchive
public synchronized Archive getArchive(ArchiveType type, String name)(Code)
Retrieve archive details for the specified id.



getArchiveEntityNames
public List<String> getArchiveEntityNames(ArchiveType type)(Code)
an list of names of entities of type ArchiveType, which are stored in the repository and are not marked for deletion.



getTempStore
public File getTempStore()(Code)
Returns a file pointer to the repository temp store.



purge
public synchronized void purge()(Code)
Purges the repository, removing all archives.



removeArchive
public synchronized void removeArchive(ArchiveType type, String name) throws RepositoryException(Code)
Remove the specified archive.
throws:
  RepositoryException - archive not found in repository



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.