org.glassfish.persistence.jpa
Class EmbeddedProviderContainerContractInfo

java.lang.Object
  extended by org.glassfish.persistence.jpa.ProviderContainerContractInfoBase
      extended by org.glassfish.persistence.jpa.ServerProviderContainerContractInfo
          extended by org.glassfish.persistence.jpa.EmbeddedProviderContainerContractInfo
All Implemented Interfaces:
ProviderContainerContractInfo

public class EmbeddedProviderContainerContractInfo
extends ServerProviderContainerContractInfo

Implementation of ProviderContainerContractInfo while running inside embedded server

Author:
Mitesh Meswani

Field Summary
 
Fields inherited from interface org.glassfish.persistence.jpa.ProviderContainerContractInfo
DEFAULT_DS_NAME
 
Constructor Summary
EmbeddedProviderContainerContractInfo(DeploymentContext deploymentContext, ConnectorRuntime connectorRuntime, boolean isDas)
           
 
Method Summary
 boolean isWeavingEnabled()
           
 
Methods inherited from class org.glassfish.persistence.jpa.ServerProviderContainerContractInfo
addTransformer, getApplicationLocation, getClassLoader, getDeploymentContext, getJTADataSourceOverride, getTempClassloader, getValidatorFactory, isJava2DBRequired, registerEMF
 
Methods inherited from class org.glassfish.persistence.jpa.ProviderContainerContractInfoBase
getDefaultDataSourceName, lookupDataSource, lookupNonTxDataSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedProviderContainerContractInfo

public EmbeddedProviderContainerContractInfo(DeploymentContext deploymentContext,
                                             ConnectorRuntime connectorRuntime,
                                             boolean isDas)
Method Detail

isWeavingEnabled

public boolean isWeavingEnabled()
Specified by:
isWeavingEnabled in interface ProviderContainerContractInfo
Overrides:
isWeavingEnabled in class ProviderContainerContractInfoBase
Returns:
true if weaving is enabled for the current environment false otherwise


Copyright © 2012 GlassFish Community. All Rights Reserved.