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


java.lang.Object
   org.objectweb.jonas.resource.Rar

Rar
public class Rar (Code)
Rar object
author:
   Eric Hardesty


Field Summary
final public static  StringCLASS
    
final public static  intDEF_EXEC_TIME
    
final public static  intDEF_WRK_THREADS
    
final public static  StringJAO
    
final public static  StringJAS
    
 StringJCAResourceName
    
final public static  StringJCD
    
final public static  StringJNDI_NAME
    
final public static  StringLNK_JNDI_NAME
    
final public static  StringLNK_RAR_FILENAME
    
final public static  StringOBJ_TYPE
    
final public static  StringRAR_FILENAME
    
final public static  StringRESOURCE_LIST
    
 ClassLoadercurLoader
    
 URLearUrl
    
public static  HashtablefileName2RA
    
 booleanisInEar
    
 StringjDomain
    
 StringjServer
    
 JCAResourcejcaResourceMBean
    
public static  HashtablejndiName2RA
    
 Vectorjndinames
    
public  JonasConnectorDescjonasConn
    
public  StringjonasXmlContent
    
 StringlnkJndiName
    
public  JonasConnectorDesclnkJonasConn
    
 StringlnkRarFilename
    
 RegistryoRegistry
    
public  StringobjectName
    
public  StringpathName
    
 ContextrCtx
    
public  ConnectorDescraConn
    
 StringrarFileName
    
public  ResourceAdapterresAdp
    
 ResourceUtilityru
    
public  StringxmlContent
    

Constructor Summary
public  Rar()
     - Get the loggers - Get the global jndi context - Get the list of the resource adapters.
public  Rar(Context ctx, String jDom, String jServ, WorkManager wrkMgr, ResourceBootstrapContext btCtx)
     - Get the loggers - Get the global jndi context - Get the list of the resource adapters.

Method Summary
public static  voidaddDefaultAS(String jndiName)
    
public static  StringbuildModuleName(String rarFileName, String appName)
    
public  voidconfigureAS(ActivationSpec as, List acp, List jacp, String jndiname, String ejbName)
    
public  ObjectcreateFactory(String jndiName, String rarObjectName, int factoryOffset, String factoryType, ConnectorDesc conn, JonasConnectorDesc jConn)
    
public  ObjectgetConfigObj(String jndiName)
    
public  ConnectorDescgetConnectorDesc()
    
public static  ConnectorDescgetConnectorDesc(String jndiName)
    
public static  StringgetDefaultAS()
    
public  ObjectgetFactory(String jndiname)
    
public  StringgetInterface(String jndiname)
    
public  VectorgetJndinames()
    
public  JonasConnectorDescgetJonasConnectorDesc()
    
public static  JonasConnectorDescgetJonasConnectorDesc(String jndiName)
    
public static  RargetRar(String jndiName)
    
public  ResourceAdaptergetResourceAdapter()
    
public static  ObjectgetResourceObject(String jndiName)
    
public  StringgetXmlContent()
    
public  ContextprocessRar()
     Process the resource adapter.
public static  voidremoveDefaultAS(String jndiName)
    
public  voidsetConnectorDesc(ConnectorDesc cd)
    
public  voidsetJonasConnectorDesc(JonasConnectorDesc jcd)
    
public  voidunRegister()
     Unregister the resource adapter.

Field Detail
CLASS
final public static String CLASS(Code)



DEF_EXEC_TIME
final public static int DEF_EXEC_TIME(Code)



DEF_WRK_THREADS
final public static int DEF_WRK_THREADS(Code)



JAO
final public static String JAO(Code)



JAS
final public static String JAS(Code)



JCAResourceName
String JCAResourceName(Code)



JCD
final public static String JCD(Code)



JNDI_NAME
final public static String JNDI_NAME(Code)



LNK_JNDI_NAME
final public static String LNK_JNDI_NAME(Code)



LNK_RAR_FILENAME
final public static String LNK_RAR_FILENAME(Code)



OBJ_TYPE
final public static String OBJ_TYPE(Code)



RAR_FILENAME
final public static String RAR_FILENAME(Code)



RESOURCE_LIST
final public static String RESOURCE_LIST(Code)



curLoader
ClassLoader curLoader(Code)



earUrl
URL earUrl(Code)



fileName2RA
public static Hashtable fileName2RA(Code)
Hashtable mapping a filename to an RAR object



isInEar
boolean isInEar(Code)



jDomain
String jDomain(Code)



jServer
String jServer(Code)



jcaResourceMBean
JCAResource jcaResourceMBean(Code)



jndiName2RA
public static Hashtable jndiName2RA(Code)
These hashtables associate an RAR with other objects



jndinames
Vector jndinames(Code)



jonasConn
public JonasConnectorDesc jonasConn(Code)



jonasXmlContent
public String jonasXmlContent(Code)



lnkJndiName
String lnkJndiName(Code)



lnkJonasConn
public JonasConnectorDesc lnkJonasConn(Code)



lnkRarFilename
String lnkRarFilename(Code)



oRegistry
Registry oRegistry(Code)



objectName
public String objectName(Code)



pathName
public String pathName(Code)



rCtx
Context rCtx(Code)



raConn
public ConnectorDesc raConn(Code)



rarFileName
String rarFileName(Code)



resAdp
public ResourceAdapter resAdp(Code)



ru
ResourceUtility ru(Code)
Resource Utility factory



xmlContent
public String xmlContent(Code)




Constructor Detail
Rar
public Rar()(Code)
- Get the loggers - Get the global jndi context - Get the list of the resource adapters. The list is reachable in the - context parameter under the name RESOURCE_LIST. - Get the transaction manager into the jndi - Set the XML validation property



Rar
public Rar(Context ctx, String jDom, String jServ, WorkManager wrkMgr, ResourceBootstrapContext btCtx)(Code)
- Get the loggers - Get the global jndi context - Get the list of the resource adapters. The list is reachable in the - context parameter under the name RESOURCE_LIST. - Get the transaction manager into the jndi - Set the XML validation property




Method Detail
addDefaultAS
public static void addDefaultAS(String jndiName)(Code)
add a default AS to the list, the first one deployed is the default if others are added then they will become default if this one is undeployed
Parameters:
  jndiName - jndi name to add



buildModuleName
public static String buildModuleName(String rarFileName, String appName)(Code)

Parameters:
  rarFileName - String of rar file
Parameters:
  appName - the name of the application String of module name



configureAS
public void configureAS(ActivationSpec as, List acp, List jacp, String jndiname, String ejbName) throws Exception(Code)



createFactory
public Object createFactory(String jndiName, String rarObjectName, int factoryOffset, String factoryType, ConnectorDesc conn, JonasConnectorDesc jConn) throws Exception(Code)
Create the factory specified
Parameters:
  jndiName - name to bind the factory
Parameters:
  rarObjectName - unique name to match rar
Parameters:
  factoryOffset - factory offset in the to create
Parameters:
  factoryType - factory type to create
Parameters:
  conn - ConnectionDesc object to use for creation
Parameters:
  jConn - JonasConnectionDesc object to use for creation Object factory created
throws:
  Exception - if an error occurs



getConfigObj
public Object getConfigObj(String jndiName)(Code)
get the ConfigObj matching the jndiname specified
Parameters:
  jndiName - String of jndi name Object ConfigObj associated with the jndi name



getConnectorDesc
public ConnectorDesc getConnectorDesc()(Code)
get the ResourceAdapter Connector object for this Rar ConnectorDesc associated resource adapter connector object



getConnectorDesc
public static ConnectorDesc getConnectorDesc(String jndiName)(Code)
get the RAR ConnectorDesc object matching the jndiname
Parameters:
  jndiName - the jndiname to lookup ConnectorDesc matching ConnectorDesc



getDefaultAS
public static String getDefaultAS()(Code)
return the current default ActivationSpec String default ActivationSpec name



getFactory
public Object getFactory(String jndiname)(Code)



getInterface
public String getInterface(String jndiname)(Code)



getJndinames
public Vector getJndinames()(Code)



getJonasConnectorDesc
public JonasConnectorDesc getJonasConnectorDesc()(Code)
get the JonasConnector object for this Rar JonasConnectorDesc associated JonasConnector



getJonasConnectorDesc
public static JonasConnectorDesc getJonasConnectorDesc(String jndiName)(Code)
get the RAR JonasConnectorDesc object matching the jndiname
Parameters:
  jndiName - the jndiname to lookup JonasConnectorDesc matching JonasConnectorDesc



getRar
public static Rar getRar(String jndiName)(Code)
get the Rar matching the jndiNname will be used in EJB container to deploy an MDB
Parameters:
  jndiName - jndi name to lookup Rar Rar object for the specified jndi name



getResourceAdapter
public ResourceAdapter getResourceAdapter()(Code)



getResourceObject
public static Object getResourceObject(String jndiName)(Code)
get the ResourceAdapter matching the jndiName will be used in ResourceObjectJNDIHandler class at lookup time
Parameters:
  jndiName - to lookup ResourceObject Object resourceObject corresponding to jndiName



getXmlContent
public String getXmlContent()(Code)
get the Xml Content for this Rar String Xml content of this RAR



processRar
public Context processRar() throws Exception(Code)
Process the resource adapter. This Resource Adapter is configured via xml files in the rar file



removeDefaultAS
public static void removeDefaultAS(String jndiName)(Code)
remove the specified jndiName from the default AS list
Parameters:
  jndiName - jndi name to remove



setConnectorDesc
public void setConnectorDesc(ConnectorDesc cd)(Code)
set the ResourceAdapter Connector object for this Rar
Parameters:
  cd - ConnectorDesc to associate with



setJonasConnectorDesc
public void setJonasConnectorDesc(JonasConnectorDesc jcd)(Code)
set the JonasConnector object for this Rar
Parameters:
  jcd - JonasConnectorDesc to associate with



unRegister
public void unRegister() throws Exception(Code)
Unregister the resource adapter.
throws:
  Exception - thrown



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.