Uses of Class
org.openejb.OpenEJBException

Packages that use OpenEJBException
org.openejb   
org.openejb.assembler   
org.openejb.config   
org.openejb.config.sys   
org.openejb.spi   
org.openejb.util   
 

Uses of OpenEJBException in org.openejb
 

Subclasses of OpenEJBException in org.openejb
 class ApplicationException
          -------------- EJB 2.0 18.1.1 Application exceptions An application exception is an exception defined in the throws clause of a method of the enterprise bean?s home and component interfaces, other than the java.rmi.RemoteException.
 class InvalidateReferenceException
          This type is thrown when the EnterpriseBean throws a RuntimeException or system exception that results in the eviction of the bean instance.
 class SystemException
          This exception is thrown when the container has encountered an unresolvable system exception that make this Container unable to process requests.
 

Methods in org.openejb that throw OpenEJBException
static void OpenEJB.init(Properties props)
           
static void OpenEJB.init(Properties initProps, ApplicationServer appServer)
           
 

Uses of OpenEJBException in org.openejb.assembler
 

Methods in org.openejb.assembler that throw OpenEJBException
 void Assembler.init(Properties props)
           
 void Assembler.build()
           
 Object RpcContainer.invoke(Object deployID, Method callMethod, Object[] args, Object primKey, Object securityIdentity)
          Invokes a method on an instance of the specified bean deployment.
 void OpenEjbConfigurationFactory.init(Properties props)
           
 OpenEjbConfiguration OpenEjbConfigurationFactory.getOpenEjbConfiguration()
           
 Container AssemblerTool.assembleContainer(ContainerInfo containerInfo)
          This method can construct a Container of any kind based on information in the ContainerInfo object: StatefulContainer, StatelessContainer, or EntityContainer In addition to constructing the containers, this method also constructs all the deployments declared in the containerInfo object and adds them to the containers It constructs the deployment Info object using the assembleDeploymentInfo method.
 InitialContext AssemblerTool.assembleRemoteJndiContext(JndiContextInfo context)
           
 CoreDeploymentInfo AssemblerTool.assembleDeploymentInfo(EnterpriseBeanInfo beanInfo)
          This method assembles a org.openejb.core.DeploymentInfo object from a EnterpriseBeanInfo configuration object of anyone of three types: EntityBeanInfo, StatelessBeanInfo, or StatefulBeanInfo.
 javax.resource.spi.ConnectionManager AssemblerTool.assembleConnectionManager(ConnectionManagerInfo cmInfo)
          This class will assemble a ConnectionManager instace from a ConnectionManagerInfo configuration object.
 javax.resource.spi.ManagedConnectionFactory AssemblerTool.assembleManagedConnectionFactory(ManagedConnectionFactoryInfo mngedConFactInfo)
          This method will assemble a ManagedConnectionFactory instance from a ManagedConnecitonFactoryInfo configuration object.
 SecurityService AssemblerTool.assembleSecurityService(SecurityServiceInfo securityInfo)
          This method assembles the SecurityService from the SecuirtyServiceInfo configuration object.
 TransactionManager AssemblerTool.assembleTransactionManager(TransactionServiceInfo txInfo)
          This method assembles the TransactionManager from the TransactionServiceInfo configuration object.
 void AssemblerTool.applyProxyFactory(IntraVmServerInfo ivmInfo)
          This method constructs a ProxyFactory from teh IntraVmServerInfo conf class and automatically registers that ProxyFactory with the ProxyManager as the default proxy.
protected  void AssemblerTool.bindJndiResourceRefs(EnterpriseBeanInfo bean, IvmContext root)
           
protected  void AssemblerTool.checkImplementation(Class intrfce, Class factory, String serviceType, String serviceName)
           
 void AssemblerTool.handleException(String errorCode, Object arg0, Object arg1, Object arg2, Object arg3)
           
 void AssemblerTool.handleException(String errorCode, Object arg0, Object arg1, Object arg2)
           
 void AssemblerTool.handleException(String errorCode, Object arg0, Object arg1)
           
 void AssemblerTool.handleException(String errorCode, Object arg0)
           
 void AssemblerTool.handleException(String errorCode)
           
 void Container.init(Object containerId, HashMap deployments, Properties properties)
          This method is used to initalized a new container with its name, deployments and properties.
 void Container.deploy(Object deploymentID, DeploymentInfo info)
          Adds a bean to this container.
 void ContainerBuilder.init(Object containerId, HashMap deploymentsMap, Properties properties)
           
 Object ContainerBuilder.invoke(Object deployID, Method callMethod, Object[] args, Object primKey, Object securityIdentity)
           
 void ContainerBuilder.deploy(Object deploymentID, DeploymentInfo info)
           
 

Uses of OpenEJBException in org.openejb.config
 

Methods in org.openejb.config that throw OpenEJBException
static Openejb ConfigUtils.readConfig()
           
static Openejb ConfigUtils.readConfig(String confFile)
           
static void ConfigUtils.writeConfig(String confFile, Openejb confObject)
           
static OpenejbJar ConfigUtils.readOpenejbJar(String jarFile)
          Opens the specified jar file, locates the openejb-jar.xml file, unmarshals it to a java object and returns it.
static boolean ConfigUtils.checkForOpenejbJar(String jarFile)
           
static void ConfigUtils.writeOpenejbJar(String xmlFile, OpenejbJar openejbJarObject)
           
static String ConfigUtils.searchForConfiguration()
          Search for the config file.
static String ConfigUtils.searchForConfiguration(String path)
           
static String ConfigUtils.searchForConfiguration(String path, Properties props)
           
static void ConfigUtils.handleException(String errorCode, Object arg0, Object arg1, Object arg2, Object arg3)
           
static void ConfigUtils.handleException(String errorCode, Object arg0, Object arg1, Object arg2)
           
static void ConfigUtils.handleException(String errorCode, Object arg0, Object arg1)
           
static void ConfigUtils.handleException(String errorCode, Object arg0)
           
static void ConfigUtils.handleException(String errorCode)
           
 void AutoDeployer.init()
           
 OpenejbJar AutoDeployer.deploy(String jarLocation)
           
 OpenejbJar AutoDeployer.deploy(EjbJar jar, String jarLocation)
           
static ServiceProvider ServiceUtils.getServiceProvider(Service service)
           
static ServiceProvider ServiceUtils.getServiceProvider(String id)
          org.openejb#Default JDBC Connector Default JDBC Connector org.postgresql#JDBCService
static ServicesJar ServiceUtils.readServicesJar(String providerName)
          Opens the specified jar file, locates the service-jar.xml file, unmarshals it to a java object and returns it.
static void ServiceUtils.writeServicesJar(String xmlFile, ServicesJar servicesJarObject)
           
static Properties ServiceUtils.assemblePropertiesFor(String confItem, String itemId, String itemContent, String confFile, ServiceProvider service)
           
static Properties ServiceUtils.loadProperties(String pFile)
           
static Properties ServiceUtils.loadProperties(String propertiesFile, Properties defaults)
           
static Properties ServiceUtils.loadProperties(InputStream in, Properties defaults)
           
static void ServiceUtils.handleException(String errorCode, Object arg0, Object arg1, Object arg2, Object arg3)
           
static void ServiceUtils.handleException(String errorCode, Object arg0, Object arg1, Object arg2)
           
static void ServiceUtils.handleException(String errorCode, Object arg0, Object arg1)
           
static void ServiceUtils.handleException(String errorCode, Object arg0)
           
static void ServiceUtils.handleException(String errorCode)
           
 void ConfigurationFactory.init(Properties props)
           
 OpenEjbConfiguration ConfigurationFactory.getOpenEjbConfiguration()
          Read in the configuration information into the Openejb object Validate it

Read in each deployment object Validate it

Translate the whole thing into Info objects.

 Service ConfigurationFactory.initService(Service service, String defaultName)
           
 Service ConfigurationFactory.initService(Service service, String defaultName, Class type)
          Service loading...
static void ConfigurationFactory.handleException(String errorCode, Object arg0, Object arg1, Object arg2, Object arg3)
           
static void ConfigurationFactory.handleException(String errorCode, Object arg0, Object arg1, Object arg2)
           
static void ConfigurationFactory.handleException(String errorCode, Object arg0, Object arg1)
           
static void ConfigurationFactory.handleException(String errorCode, Object arg0)
           
static void ConfigurationFactory.handleException(String errorCode)
           
static EjbJar EjbJarUtils.readEjbJar(String jarFile)
           
static void EjbJarUtils.writeEjbJar(String xmlFile, EjbJar ejbJarObject)
           
static String EjbJarUtils.moveJar(String jar, boolean overwrite)
           
static String EjbJarUtils.copyJar(String jar, boolean overwrite)
           
static void EjbJarUtils.handleException(String errorCode, Object arg0, Object arg1, Object arg2, Object arg3)
           
static void EjbJarUtils.handleException(String errorCode, Object arg0, Object arg1, Object arg2)
           
static void EjbJarUtils.handleException(String errorCode, Object arg0, Object arg1)
           
static void EjbJarUtils.handleException(String errorCode, Object arg0)
           
static void EjbJarUtils.handleException(String errorCode)
           
 void Deploy.init(String openejbConfigFile)
           
 

Constructors in org.openejb.config that throw OpenEJBException
AutoDeployer()
           
EjbValidator()
           
Deploy()
           
 

Uses of OpenEJBException in org.openejb.config.sys
 

Methods in org.openejb.config.sys that throw OpenEJBException
 Properties ServiceProvider.getProperties()
           
 

Uses of OpenEJBException in org.openejb.spi
 

Methods in org.openejb.spi that throw OpenEJBException
 void Assembler.init(Properties props)
           
 void Assembler.build()
           
 

Uses of OpenEJBException in org.openejb.util
 

Methods in org.openejb.util that throw OpenEJBException
 Class SafeToolkit.forName(String className)
          Attempts to find and load the specified class.
 Class SafeToolkit.forName(String className, String codebase)
          Attempts to find and load the specified class, using the specified codebase.
 Object SafeToolkit.newInstance(String className)
          Attempts to find and load the specified class then instaniate it.
 Object SafeToolkit.newInstance(String className, String codebase)
          Attempts to find and load the specified class then instaniate it.
 Object SafeToolkit.newInstance(Class clazz)
          Attempts to instaniate the specified class.
 SafeProperties SafeToolkit.getSafeProperties(Properties props)
          Returns a new SafeProperties instance dedicated to this toolkit.
static Class SafeToolkit.loadClass(String className, String codebase)
          Loads the class using the class loader for the specific codebase.
static Class SafeToolkit.loadClass(String className, String codebase, boolean cache)
           
protected static ClassLoader SafeToolkit.getCodebaseClassLoader(String codebase)
          Ensures that a class loader for each code base used in the system is created at most one time.
protected static ClassLoader SafeToolkit.getClassLoader(String codebase)
          Ensures that a class loader for each code base used in the system is created at most one time.
static Class SafeToolkit.loadTempClass(String className, String codebase)
          Loads the class using the class loader for the specific codebase.
static Class SafeToolkit.loadTempClass(String className, String codebase, boolean cache)
           
protected static ClassLoader SafeToolkit.getCodebaseTempClassLoader(String codebase)
          Ensures that a class loader for each code base used in the system is created at most one time.
protected static ClassLoader SafeToolkit.getTempClassLoader(String codebase)
          Ensures that a class loader for each code base used in the system is created at most one time.
protected static File SafeToolkit.createTempCopy(String codebase)
           
 String SafeProperties.getProperty(String key)
          Returns the value of the key.
 String SafeProperties.getProperty(String key, String defaultValue)
          Returns the value of the key.
 int SafeProperties.getPropertyAsInt(String key)
          Returns the value of the key as an int.
 int SafeProperties.getPropertyAsInt(String key, int defaultValue)
          Returns the value of the key as an int.
 Integer SafeProperties.getPropertyAsInteger(String key, Integer defaultValue)
          Returns the value of the key as an Integer.
 Integer SafeProperties.getPropertyAsInteger(String key)
          Returns the value of the key as an Integer.
 boolean SafeProperties.getPropertyAsBoolean(String key)
          Returns the value of the key as an boolean.
 Boolean SafeProperties.getPropertyAsBoolean(String key, Boolean defaultValue)
          Returns the value of the key as an boolean.
static File JarUtils.getJarContaining(String path)
           
static void JarUtils.addFileToJar(String jarFile, String file)
           
static JarFile JarUtils.getJarFile(String jarFile)
           
static void OpenEJBErrorHandler.propertiesObjectIsNull(String systemLocation)
          Creates and throws an OpenEJBException with the following message: "The required properties object needed by {0} is null ." {1} is the part of the system that needs the properties object.
static void OpenEJBErrorHandler.propertyFileNotFound(String propertyfileName, String systemLocation)
          Creates and throws an OpenEJBException with the following message: "Properties file '{0}' for {1} not found." {0} is the properties file name {1} is the part of the system that needs the properties file.
static void OpenEJBErrorHandler.propertyNotFound(String propertyName, String propertyfileName)
          Creates and throws an OpenEJBException with the following message: "Environment entry '{0}' not found in {1}." {0} is the property name {1} is the properties file name.
static void OpenEJBErrorHandler.propertyValueIsIllegal(String propertyName, String value)
          Creates and throws an OpenEJBException with the following message: "Environment entry '{0}' contains illegal value {1}." {0} is the property name {1} is the illegal value.
static void OpenEJBErrorHandler.propertyValueIsIllegal(String propertyName, String value, String message)
          Creates and throws an OpenEJBException with the following message: "Environment entry '{0}' contains illegal value {1}.
static void OpenEJBErrorHandler.classNotFound(String systemLocation, String className)
          Creates and throws an OpenEJBException with the following message: "The {0} cannot find and load the class '{1}'." {0} part of the system that needs the class {1} class that cannot be found.
static void OpenEJBErrorHandler.classNotAccessible(String systemLocation, String className)
          Creates and throws an OpenEJBException with the following message: "The {0} cannot instaniate the class '{1}', the class or initializer is not accessible." {0} part of the system that needs the class {1} class that cannot be accessed.
static void OpenEJBErrorHandler.classNotIntantiateable(String systemLocation, String className)
          Creates and throws an OpenEJBException with the following message: "The {0} cannot instaniate the class '{1}', the class may be abstract or an interface." {0} part of the system that needs the class {1} class that cannot be accessed.
static void OpenEJBErrorHandler.classNotIntantiateableForUnknownReason(String systemLocation, String className, String exceptionClassName, String message)
          Creates and throws an OpenEJBException with the following message: "The {0} cannot instaniate the class {1}: Recieved exception {2}: {3}" {0} part of the system that needs the class {1} class that cannot be accessed.
static void OpenEJBErrorHandler.classNotIntantiateableFromCodebaseForUnknownReason(String systemLocation, String className, String codebase, String exceptionClassName, String message)
          Creates and throws an OpenEJBException with the following message: "The {0} cannot instaniate the class {1} loaded from codebase {2}: Recieved exception {3}: {4}" {0} part of the system that needs the class {1} class that cannot be accessed.
static void OpenEJBErrorHandler.classCodebaseNotFound(String systemLocation, String className, String codebase, Exception e)
          The {0} cannot locate the class {1}, the codebase '{2}' cannot be accessed.
 

Constructors in org.openejb.util that throw OpenEJBException
SafeProperties(Properties props, String systemLocation)
          Creates a new SafeProperties usign the Properties object passed in.
 



Copyright © 1999-2006 OpenEJB. All Rights Reserved.