@Override public void processSecurityPermissions() throws DeploymentException { try { if (this.descriptor.getSecurityPermissions() != null) { super.permissions.add( new PermissionHolder( super.getDeploymentDir().toURI(), this.descriptor.getSecurityPermissions().getSecurityPermissionSpec())); } } catch (Exception e) { throw new DeploymentException("Failed to make permissions usable.", e); } }
@Override public void undeployed() { super.undeployed(); abstractSbbClass = null; activityContextInterface = null; activityContextInterfaceConcreteClass = null; concreteSbbClass = null; if (eventHandlerMethods != null) { eventHandlerMethods.clear(); eventHandlerMethods = null; } sbbLocalInterfaceClass = null; sbbLocalInterfaceConcreteClass = null; specsDescriptor = null; }