@Service @Interceptor @ContractsProvided(value={weblogic.management.partition.admin.PartitionFileSystemInterceptor.class, org.aopalliance.intercept.MethodInterceptor.class}) public class PartitionFileSystemInterceptor extends PartitionManagerInterceptorAdapter
PartitionManagerInterceptorAdapter.DebugLog
Modifier and Type | Field and Description |
---|---|
(package private) static weblogic.security.acl.internal.AuthenticatedSubject |
kernelId |
(package private) RuntimeAccess |
runtimeAccess |
BASIC_DEPLOYMENTS_KEY, DATA_HAS_BEEN_SET_KEY, DEBUG_LOG_KEY, DEPLOYMENTS_KEY, IS_ADMIN_SERVER, PARTITION_MBEAN_KEY, PARTITION_RUNTIME_IS_AT_LEAST_BOOTED, PARTITION_RUNTIME_MBEAN_KEY, RESOURCE_GROUP_MBEAN_KEY, SERVER_NAME
Constructor and Description |
---|
PartitionFileSystemInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
onPostDeletePartition(org.aopalliance.intercept.MethodInvocation mi,
PartitionMBean partitionMBean) |
boolean |
shouldDoStart(org.aopalliance.intercept.MethodInvocation mi)
Indicates whether the current startPartition or startPartitionInAdmin operation should
trigger invocation of the interceptor's startPartition or startPartitionInAdmin method.
|
void |
startPartition(org.aopalliance.intercept.MethodInvocation mi,
java.lang.String partitionName)
Responds to partition start operations.
|
void |
startPartitionInAdmin(org.aopalliance.intercept.MethodInvocation mi,
java.lang.String partitionName)
Responds to starting a partition in the "admin" state.
|
bootPartition, forceShutdownPartition, forceSuspendPartition, getBasicDeployments, getDeployments, getPartition, getPartitionRuntime, getResourceGroup, getServerName, haltPartition, invoke, isAdminServer, resumePartition, shouldDoBoot, shouldDoHalt, shouldDoShutdown, shutdownPartition, suspendPartition
static final weblogic.security.acl.internal.AuthenticatedSubject kernelId
final RuntimeAccess runtimeAccess
public boolean shouldDoStart(org.aopalliance.intercept.MethodInvocation mi)
PartitionManagerInterceptorAdapter
Most interceptors will not need to override the adapter's implementation, but any that does must be aware that, depending on what the overriding methods do, both bootPartition and either of the start methods might be invoked at different times in the same life cycle of a partition. The interceptor implementation of bootPartition, startPartition, and startPartitionInAdmin must be idempotent in that calls to more than one of them must not do damage (by, for example, trying to perform the same work more than once).
shouldDoStart
in class PartitionManagerInterceptorAdapter
mi
- the MethodInvocation representing this intercepted method callpublic void startPartitionInAdmin(org.aopalliance.intercept.MethodInvocation mi, java.lang.String partitionName) throws java.lang.Throwable
PartitionManagerInterceptorAdapter
startPartitionInAdmin
in class PartitionManagerInterceptorAdapter
mi
- the method invocationpartitionName
- name of the partition being startedjava.lang.Throwable
public void startPartition(org.aopalliance.intercept.MethodInvocation mi, java.lang.String partitionName) throws java.lang.Throwable
PartitionManagerInterceptorAdapter
startPartition
in class PartitionManagerInterceptorAdapter
mi
- the method invocationpartitionName
- name of the partition being startedjava.lang.Throwable
public void onPostDeletePartition(org.aopalliance.intercept.MethodInvocation mi, PartitionMBean partitionMBean) throws java.lang.Throwable
java.lang.Throwable