container/profiles/src/main/java/org/mobicents/slee/container/management/ProfileManagementImpl.java
public void installProfileSpecification(ProfileSpecificationComponent component) throws DeploymentException {

		if (logger.isDebugEnabled()) {
			logger.debug("Installing " + component);
		}

		try {
			JndiManagement jndiManagement = sleeContainer.getJndiManagement();
			logger.debug("JndiManagement: "+jndiManagement+" for ProfileSpecificationComponent: "+component);
			jndiManagement.componentInstall(component);
			jndiManagement.pushJndiContext(component);
			try {
				this.createJndiSpace(component);
			} finally {
				jndiManagement.popJndiContext();
			}

			// FIXME: we wont use trace and alarm in 1.0 way wont we?
			ProfileEntityFramework profileEntityFramework = new JPAProfileEntityFramework(component,configuration,sleeContainer.getTransactionManager());
			profileEntityFramework.install();
			sleeProfileClassCodeGenerator.process(component);
			profileTableFramework.loadProfileTables(component);
		} catch (DeploymentException de) {
			throw de;
		} catch (Throwable t) {
		  t.printStackTrace();
			throw new SLEEException(t.getMessage(),t);
		}

	}
public void installProfileSpecification(ProfileSpecificationComponent component) throws DeploymentException {

		if (logger.isDebugEnabled()) {
			logger.debug("Installing " + component);
		}

		try {
			JndiManagement jndiManagement = sleeContainer.getJndiManagement();
			logger.debug("JndiManagement: "+jndiManagement+" for ProfileSpecificationComponent: "+component);
			jndiManagement.componentInstall(component);
			jndiManagement.pushJndiContext(component);
			try {
				this.createJndiSpace(component);
			} finally {
				jndiManagement.popJndiContext();
			}

			// FIXME: we wont use trace and alarm in 1.0 way wont we?
			ProfileEntityFramework profileEntityFramework = new JPAProfileEntityFramework(component,configuration,sleeContainer.getTransactionManager());
			profileEntityFramework.install();
			sleeProfileClassCodeGenerator.process(component);
			profileTableFramework.loadProfileTables(component);
		} catch (DeploymentException de) {
			throw de;
		} catch (Throwable t) {
		  t.printStackTrace();
			throw new SLEEException(t.getMessage(),t);
		}

	}
public void installProfileSpecification ( ProfileSpecificationComponent component ) throws DeploymentException { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Installing " + component ) ; } try { JndiManagement jndiManagement = sleeContainer . getJndiManagement ( ) ; logger . debug ( "JndiManagement: " + jndiManagement + " for ProfileSpecificationComponent: " + component ) ; jndiManagement . componentInstall ( component ) ; jndiManagement . pushJndiContext ( component ) ; try { this . createJndiSpace ( component ) ; } finally { jndiManagement . popJndiContext ( ) ; } // FIXME: we wont use trace and alarm in 1.0 way wont we? ProfileEntityFramework profileEntityFramework = new JPAProfileEntityFramework ( component , configuration , sleeContainer . getTransactionManager ( ) ) ; profileEntityFramework . install ( ) ; sleeProfileClassCodeGenerator . process ( component ) ; profileTableFramework . loadProfileTables ( component ) ; } catch ( DeploymentException de ) { throw de ; } catch ( Throwable t ) { t . printStackTrace ( ) ; throw new SLEEException ( t . getMessage ( ) , t ) ; } }
/*
(non-Javadoc)
@see org.mobicents.slee.container.management.ProfileManagement#installProfileSpecification(org.mobicents.slee.core.component.profile.ProfileSpecificationComponent)
/ * ( non - Javadoc )