Java Doc for AdmInterface.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » adm » 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 » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.adm 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.jonas.adm.AdmInterface

All known Subclasses:   org.objectweb.jonas.adm.Adm,
AdmInterface
public interface AdmInterface extends Remote(Code)


Field Summary
final public static  intSTATUS_ALL
    
final public static  intSTATUS_RUNNING
    
final public static  intSTATUS_STOPPED
    
final public static  intTYPE_CAR
    
final public static  intTYPE_EAR
    
final public static  intTYPE_EJB
    
final public static  intTYPE_RAR
    
final public static  intTYPE_WAR
    


Method Summary
 voidaddBeans(String fileName)
    
public  voidaddEar(String fileName)
     Deploy a given ear file with the help of the ear service.
public  voidaddRar(String fileName)
     Deploy a given rar file with the help of the resource service.
public  voidaddWar(String fileName)
     Deploy a given war file with the help of the web container service.
 StringdeployFile(int type, byte[] file, String filename)
     Deploy file (GenIC), needed for Ishmael to work.
Parameters:
  type - type of the file (EJB, WAR, EAR, RAR, CAR)
Parameters:
  file - the actual file
Parameters:
  filename - basename of the file to be deployed
throws:
  RemoteException -
throws:
  EarServiceException -
throws:
  ResourceServiceException -
throws:
  JWebContainerServiceException -
author:
   Dean Jennings.
 voiddeployFileOn(String filename, String[] target)
    
 StringdumpCustom()
    
 intgetServerState()
    
 StringgetTopicLevel(String topic)
    
 String[]getTopics()
    
 booleanisEJBContainer()
    
 booleanisEarLoaded(String fileName)
     Test if the specified filename is already deployed or not
Parameters:
  fileName - the name of the ear file.
 booleanisLoaded(String fileName)
    
 booleanisRarLoaded(String fileName)
     Test if the specified filename is already deployed or not
Parameters:
  fileName - the name of the rar file.
 booleanisWarLoaded(String fileName)
     Test if the specified filename is already deployed or not
Parameters:
  fileName - the name of the war file.
 voidkillServer()
    
 String[]listBeans()
    
 VectorlistContext()
    
 PropertieslistEnv()
    
 ListlistModules(int type, int state)
     List modules, needed for Ishmael to work.
 voidremoveBeans(String fileName)
    
public  voidremoveEar(String fileName)
     UnDeploy a given ear file with the help of the ear service.
public  voidremoveRar(String fileName)
     UnDeploy a given rar file with the help of the resource service.
public  voidremoveWar(String fileName)
     UnDeploy a given war file with the help of the web container service.
 voidrunGC()
    
 voidsetTopicLevel(String topic, String l)
    
 voidsetTransactionTimeout(int timeout)
    
 voidstartRemoteServers(String[] target)
    
 voidstopRemoteServers(String[] target)
    
 voidstopServer()
    
 voidsyncAllEntities(boolean passivate)
    
public  voidundeployFile(String filename)
     Physically remove the module from the server
Parameters:
  filename - the filename of the module to be removed
throws:
  RemoteException -
author:
   Dean Jennings.

Field Detail
STATUS_ALL
final public static int STATUS_ALL(Code)



STATUS_RUNNING
final public static int STATUS_RUNNING(Code)



STATUS_STOPPED
final public static int STATUS_STOPPED(Code)



TYPE_CAR
final public static int TYPE_CAR(Code)



TYPE_EAR
final public static int TYPE_EAR(Code)



TYPE_EJB
final public static int TYPE_EJB(Code)



TYPE_RAR
final public static int TYPE_RAR(Code)



TYPE_WAR
final public static int TYPE_WAR(Code)





Method Detail
addBeans
void addBeans(String fileName) throws RemoteException(Code)



addEar
public void addEar(String fileName) throws RemoteException, EarServiceException(Code)
Deploy a given ear file with the help of the ear service.
Parameters:
  fileName - the name of the ear file.
throws:
  RemoteException - if rmi call failed.
throws:
  EarServiceException - if the deployment failed.



addRar
public void addRar(String fileName) throws RemoteException, ResourceServiceException(Code)
Deploy a given rar file with the help of the resource service.
Parameters:
  fileName - the name of the rar file.
throws:
  RemoteException - if rmi call failed.
throws:
  ResourceServiceException - if the deployment failed.



addWar
public void addWar(String fileName) throws RemoteException, JWebContainerServiceException(Code)
Deploy a given war file with the help of the web container service.
Parameters:
  fileName - the name of the war file.
throws:
  RemoteException - if rmi call failed.
throws:
  JWebContainerServiceException - if the deployment failed.



deployFile
String deployFile(int type, byte[] file, String filename) throws RemoteException, EarServiceException, ResourceServiceException, JWebContainerServiceException(Code)
Deploy file (GenIC), needed for Ishmael to work.
Parameters:
  type - type of the file (EJB, WAR, EAR, RAR, CAR)
Parameters:
  file - the actual file
Parameters:
  filename - basename of the file to be deployed
throws:
  RemoteException -
throws:
  EarServiceException -
throws:
  ResourceServiceException -
throws:
  JWebContainerServiceException -
author:
   Dean Jennings.



deployFileOn
void deployFileOn(String filename, String[] target) throws RemoteException(Code)



dumpCustom
String dumpCustom() throws RemoteException(Code)



getServerState
int getServerState() throws RemoteException(Code)



getTopicLevel
String getTopicLevel(String topic) throws RemoteException(Code)



getTopics
String[] getTopics() throws RemoteException(Code)



isEJBContainer
boolean isEJBContainer() throws RemoteException(Code)



isEarLoaded
boolean isEarLoaded(String fileName) throws RemoteException, EarServiceException(Code)
Test if the specified filename is already deployed or not
Parameters:
  fileName - the name of the ear file. true if the ear is deployed, else false.
throws:
  RemoteException - if rmi call failed.



isLoaded
boolean isLoaded(String fileName) throws RemoteException(Code)



isRarLoaded
boolean isRarLoaded(String fileName) throws RemoteException, ResourceServiceException(Code)
Test if the specified filename is already deployed or not
Parameters:
  fileName - the name of the rar file. true if the rar is deployed, else false.
throws:
  RemoteException - if rmi call failed.



isWarLoaded
boolean isWarLoaded(String fileName) throws RemoteException, JWebContainerServiceException(Code)
Test if the specified filename is already deployed or not
Parameters:
  fileName - the name of the war file. true if the war is deployed, else false.
throws:
  RemoteException - if rmi call failed.



killServer
void killServer() throws RemoteException(Code)



listBeans
String[] listBeans() throws RemoteException(Code)



listContext
Vector listContext() throws RemoteException(Code)



listEnv
Properties listEnv() throws RemoteException(Code)



listModules
List listModules(int type, int state) throws RemoteException(Code)
List modules, needed for Ishmael to work. Currently only lists top level modules. It does need to do sub elements of ears in the future.
Parameters:
  type - type of the file (EJB, WAR, EAR, RAR, CAR)
Parameters:
  state - status of the modules to be returned(RUNNING, STOPPED, ALL)
throws:
  RemoteException -
author:
   Dean Jennings.



removeBeans
void removeBeans(String fileName) throws RemoteException(Code)



removeEar
public void removeEar(String fileName) throws RemoteException, EarServiceException(Code)
UnDeploy a given ear file with the help of the ear service.
Parameters:
  fileName - the name of the ear file.
throws:
  RemoteException - if rmi call failed.
throws:
  EarServiceException - if the undeployment failed.



removeRar
public void removeRar(String fileName) throws RemoteException, ResourceServiceException(Code)
UnDeploy a given rar file with the help of the resource service.
Parameters:
  fileName - the name of the rar file.
throws:
  RemoteException - if rmi call failed.
throws:
  ResourceServiceException - if the undeployment failed.



removeWar
public void removeWar(String fileName) throws RemoteException, JWebContainerServiceException(Code)
UnDeploy a given war file with the help of the web container service.
Parameters:
  fileName - the name of the war file.
throws:
  RemoteException - if rmi call failed.
throws:
  JWebContainerServiceException - if the undeployment failed.



runGC
void runGC() throws RemoteException(Code)



setTopicLevel
void setTopicLevel(String topic, String l) throws RemoteException(Code)



setTransactionTimeout
void setTransactionTimeout(int timeout) throws RemoteException(Code)



startRemoteServers
void startRemoteServers(String[] target) throws RemoteException(Code)



stopRemoteServers
void stopRemoteServers(String[] target) throws RemoteException(Code)



stopServer
void stopServer() throws RemoteException(Code)



syncAllEntities
void syncAllEntities(boolean passivate) throws RemoteException(Code)



undeployFile
public void undeployFile(String filename) throws RemoteException(Code)
Physically remove the module from the server
Parameters:
  filename - the filename of the module to be removed
throws:
  RemoteException -
author:
   Dean Jennings.



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