public class org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer extends org.glassfish.concurrent.runtime.deployer.ConcurrencyDeployer
{
private org.glassfish.api.invocation.InvocationManager invocationManager;
private org.glassfish.resourcebase.resources.naming.ResourceNamingService resourceNamingService;
private org.glassfish.concurrent.runtime.ConcurrentRuntime runtime;
public void <init>()
{
org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer v;
v := @this: org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer;
specialinvoke v.<org.glassfish.concurrent.runtime.deployer.ConcurrencyDeployer: void <init>()>();
return;
}
public boolean handles(java.lang.Object)
{
java.lang.Object v;
org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer v;
boolean v;
v := @this: org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer;
v := @parameter: java.lang.Object;
v = v instanceof com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor;
return v;
}
public void deployResource(com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor) throws java.lang.Exception
{
org.glassfish.api.invocation.InvocationManager v, v;
com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor v;
org.glassfish.api.invocation.ComponentInvocation v, v;
org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer v;
java.lang.String v, v;
v := @this: org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer;
v := @parameter: com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor;
v = v.<org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer: org.glassfish.api.invocation.InvocationManager invocationManager>;
v = interfaceinvoke v.<org.glassfish.api.invocation.InvocationManager: org.glassfish.api.invocation.ComponentInvocation getCurrentInvocation()>();
v = virtualinvoke v.<org.glassfish.api.invocation.ComponentInvocation: java.lang.String getAppName()>();
v = v.<org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer: org.glassfish.api.invocation.InvocationManager invocationManager>;
v = interfaceinvoke v.<org.glassfish.api.invocation.InvocationManager: org.glassfish.api.invocation.ComponentInvocation getCurrentInvocation()>();
v = virtualinvoke v.<org.glassfish.api.invocation.ComponentInvocation: java.lang.String getModuleName()>();
virtualinvoke v.<org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer: void deployResource(com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor,java.lang.String,java.lang.String)>(v, v, v);
return;
}
public void deployResource(com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor, java.lang.String, java.lang.String) throws java.lang.Exception
{
org.glassfish.enterprise.concurrent.ManagedScheduledExecutorServiceImpl v;
com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor v;
org.glassfish.resourcebase.resources.naming.ResourceNamingService v;
org.glassfish.api.naming.SimpleJndiName v;
org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer v;
java.lang.String v, v;
org.glassfish.resourcebase.resources.api.ResourceInfo v;
v := @this: org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer;
v := @parameter: com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v = specialinvoke v.<org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer: org.glassfish.enterprise.concurrent.ManagedScheduledExecutorServiceImpl createExecutorService(java.lang.String,java.lang.String,com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor)>(v, v, v);
v = new org.glassfish.resourcebase.resources.api.ResourceInfo;
v = virtualinvoke v.<org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer: org.glassfish.api.naming.SimpleJndiName toResourceName(com.sun.enterprise.deployment.ResourceDescriptor)>(v);
specialinvoke v.<org.glassfish.resourcebase.resources.api.ResourceInfo: void <init>(org.glassfish.api.naming.SimpleJndiName,java.lang.String,java.lang.String)>(v, v, v);
v = v.<org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer: org.glassfish.resourcebase.resources.naming.ResourceNamingService resourceNamingService>;
virtualinvoke v.<org.glassfish.resourcebase.resources.naming.ResourceNamingService: void publishObject(org.glassfish.resourcebase.resources.api.GenericResourceInfo,java.lang.Object,boolean)>(v, v, 1);
return;
}
public void undeployResource(com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor) throws java.lang.Exception
{
org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer v;
com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor v;
v := @this: org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer;
v := @parameter: com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor;
return;
}
public void undeployResource(com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor, java.lang.String, java.lang.String) throws java.lang.Exception
{
org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer v;
java.lang.String v, v;
com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor v;
v := @this: org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer;
v := @parameter: com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
return;
}
private org.glassfish.enterprise.concurrent.ManagedScheduledExecutorServiceImpl createExecutorService(java.lang.String, java.lang.String, com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor)
{
org.glassfish.concurrent.runtime.deployer.cfg.ManagedScheduledExecutorServiceCfg v;
org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorServiceConfig v;
org.glassfish.enterprise.concurrent.ContextServiceImpl v;
org.glassfish.enterprise.concurrent.ManagedScheduledExecutorServiceImpl v;
com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor v;
org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer v;
java.lang.String v, v;
org.glassfish.concurrent.runtime.ConcurrentRuntime v, v;
v := @this: org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor;
v = new org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorServiceConfig;
specialinvoke v.<org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorServiceConfig: void <init>(com.sun.enterprise.deployment.ManagedScheduledExecutorDefinitionDescriptor)>(v);
v = new org.glassfish.concurrent.runtime.deployer.cfg.ManagedScheduledExecutorServiceCfg;
specialinvoke v.<org.glassfish.concurrent.runtime.deployer.cfg.ManagedScheduledExecutorServiceCfg: void <init>(org.glassfish.concurrent.config.ManagedScheduledExecutorService)>(v);
v = v.<org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer: org.glassfish.concurrent.runtime.ConcurrentRuntime runtime>;
v = virtualinvoke v.<org.glassfish.concurrent.runtime.ConcurrentRuntime: org.glassfish.enterprise.concurrent.ContextServiceImpl findOrCreateContextService(com.sun.enterprise.deployment.'annotation'.handlers.ContextualResourceDefinition,java.lang.String,java.lang.String)>(v, v, v);
v = v.<org.glassfish.concurrent.runtime.deployer.ConcurrencyManagedScheduledExecutorDeployer: org.glassfish.concurrent.runtime.ConcurrentRuntime runtime>;
v = virtualinvoke v.<org.glassfish.concurrent.runtime.ConcurrentRuntime: org.glassfish.enterprise.concurrent.ManagedScheduledExecutorServiceImpl createManagedScheduledExecutorService(org.glassfish.concurrent.runtime.deployer.cfg.ManagedScheduledExecutorServiceCfg,org.glassfish.enterprise.concurrent.ContextServiceImpl)>(v, v);
return v;
}
}